const Radio=require("./radio");

const radio=new Radio();

radio.on('paly',function(){
    console.log("music radio" +"FM 106.7 opened");
    console.log("lalal");
})
radio.on('stop',function(){
    console.log("music radio" +"FM 106.7 closed")
})
radio.play();
setTimeout(()=>{
    radio.stop();
},2000)